package dtos

// RegisterDto 用户注册请求
type RegisterDto struct {
	Username string `json:"username" binding:"required,min=3,max=50"`
	Email    string `json:"email" binding:"required,email"`
	Password string `json:"password" binding:"required,min=6"`
}

// LoginDto 用户登录请求
type LoginDto struct {
	Email    string `json:"email" binding:"required,email"`
	Password string `json:"password" binding:"required"`
}


// LoginResponse 登录响应
type LoginResponse struct {
	Token string      `json:"token"`
	User  UserProfile `json:"user"`
}

// RefreshTokenDto 刷新令牌请求
type RefreshTokenDto struct {
	Token string `json:"token" binding:"required"`
}